package com.bodu.system.service;

import com.bodu.core.common.CommonService;
import com.bodu.core.entity.result.Result;
import com.bodu.system.entity.request.CronTriggersRequest;
import com.bodu.system.entity.vo.CronTriggersVo;

/**
* 定时器 Service
* @author Administrator
*/
public interface CronTriggersService extends CommonService<CronTriggersRequest, CronTriggersVo>{

    /**
     * 更改状态
     * @param request
     * @return
     */
    Result<Integer> switchStatus(CronTriggersRequest request);

    /**
     * 查询triggers
     * @param className
     * @return
     */
    CronTriggersVo getModelByCronClassName(String className);

}
